package com.situ.pattern.observer2;
public class Client {
	
	public static void main(String[] args) {
		NewsPaper newsPaper = new NewsPaper();
		Reader reader1=new Reader("张三");
		Reader reader2=new Reader("李四");
		Reader reader3=new Reader("王五");
		newsPaper.addObserver(reader1);
		newsPaper.addObserver(reader2);
		newsPaper.addObserver(reader3);
		newsPaper.setContent("那就是青藏高原");
	}
}
